﻿<%@ Page Title="" Language="C#" MasterPageFile="~/manage.master" AutoEventWireup="true" CodeFile="OrderListManage.aspx.cs" Inherits="Admins_Default1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolderBody" Runat="Server">
    <table align="center" width="100%">
            <tr align="center">
                <td colspan="3" class="style2">
                    <asp:GridView ID="GridView1" AutoGenerateColumns="false" AllowPaging="True" runat="server"
                        Font-Size="12px" Width="997px" OnSelectedIndexChanged="GridView1_SelectedIndexChanged1"
                        OnRowEditing="GridView1_RowEditing" OnRowUpdating="GridView1_RowUpdating" OnRowCancelingEdit="GridView1_RowCancelingEdit"
                        OnSelectedIndexChanging="GridView1_SelectedIndexChanging">
                        <FooterStyle BackColor="#F7DFB5" ForeColor="#8C4510" />
                        <RowStyle BackColor="#FFF7E7" ForeColor="#8C4510" />
                        <SelectedRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="White" />
                        <PagerStyle ForeColor="#8C4510" HorizontalAlign="Center" />
                        <HeaderStyle BackColor="#A55129" Font-Bold="True" ForeColor="White" />
                        <Columns>
                            <asp:BoundField DataField="orderListId" HeaderText="OrderListId" ReadOnly="True">
                                <HeaderStyle Width="40px" />
                                <ItemStyle Width="40px" />
                                <ControlStyle Width="40px" />
                            </asp:BoundField>
                            <asp:BoundField DataField="memberId" HeaderText="会员ID" ReadOnly="True">
                                <HeaderStyle Width="60px" />
                                <ItemStyle Width="60px" />
                                <ControlStyle Width="60px" />
                            </asp:BoundField>
                            <asp:BoundField DataField="customerName" HeaderText="会员姓名" ReadOnly="True">
                                <HeaderStyle Width="60px" />
                                <ItemStyle Width="60px" />
                                <ControlStyle Width="60px" />
                            </asp:BoundField>
                            <asp:BoundField DataField="phone" HeaderText="联系电话" ReadOnly="True">
                                <HeaderStyle Width="60px" />
                                <ItemStyle Width="60px" />
                                <ControlStyle Width="60px" />
                            </asp:BoundField>
                            <asp:BoundField DataField="adress" HeaderText="送货地址" ReadOnly="True">
                                <HeaderStyle Width="100px" />
                                <ItemStyle Width="100px" />
                                <ControlStyle Width="100px" />
                            </asp:BoundField>
                            <asp:BoundField DataField="payment" HeaderText="应付款项payment" ReadOnly="true">
                                <HeaderStyle Width="100px" />
                                <ItemStyle Width="100px" />
                                <ControlStyle Width="100px" />
                            </asp:BoundField>
                            <asp:BoundField DataField="state" HeaderText="处理状态" NullDisplayText="空值" ReadOnly="True">
                                <HeaderStyle Width="60px" />
                                <ItemStyle Width="60px" />
                                <ControlStyle Width="60px" />
                            </asp:BoundField>
                            <asp:BoundField DataField="createDate" HeaderText="下单时间" DataFormatString="{0:d}"
                                HtmlEncode="False" ReadOnly="True">
                                <HeaderStyle Width="60px" />
                                <ItemStyle Width="60px" />
                                <ControlStyle Width="60px" />
                            </asp:BoundField>
                            <asp:TemplateField HeaderText="用户所得积分">
                                <HeaderStyle Width="60px" />
                                <ItemStyle Width="60px" />
                                <ControlStyle Width="60px" />
                                <ItemTemplate>
                                    <asp:Label ID="Lable1" runat="server" Text='<%#Bind("nScore") %>'></asp:Label>
                                </ItemTemplate>
                                <EditItemTemplate>
                                    <asp:DropDownList ID="DDLnScore" runat="server">
                                        <asp:ListItem Value="0">0</asp:ListItem>
                                        <asp:ListItem Value="1">1</asp:ListItem>
                                        <asp:ListItem Value="2">2</asp:ListItem>
                                    </asp:DropDownList>
                                </EditItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="选择">
                                <ItemTemplate>
                                    <asp:CheckBox ID="CheckBox1" runat="server" />
                                </ItemTemplate>
                            </asp:TemplateField>
                               <asp:BoundField DataField="treadDate" HeaderText="送货时间" ReadOnly="true">
                                <HeaderStyle Width="80px" />
                                <ItemStyle Width="80px" />
                                <ControlStyle Width="80px" />
                            </asp:BoundField>
                            <asp:TemplateField HeaderText="填写送货时间">
                                <ItemTemplate>
                                    <asp:TextBox ID="TextBox1" runat="server">
                                    </asp:TextBox>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:CommandField HeaderText="编辑" ShowEditButton="True" />
                        </Columns>
                    </asp:GridView>
                    &nbsp;
                </td>
            </tr>
            <tr align="center">
                <td colspan="3" class="style3">
                    <asp:LinkButton ID="LinkButton1" runat="server" OnClick="LinkButton1_Click">显示全部订单</asp:LinkButton>
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                <%--    <asp:LinkButton ID="LinkButton3" runat="server" OnClick="LinkButton3_Click">按会员ID查找</asp:LinkButton>
                    <asp:TextBox ID="TextBox2" runat="server">
                    </asp:TextBox>
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;--%>
                    <asp:LinkButton ID="LinkButton4" runat="server" OnClick="LinkButton4_Click">按会员姓名查找</asp:LinkButton>
                    <asp:TextBox ID="TextBox3" runat="server">
                    </asp:TextBox>
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                    <asp:LinkButton ID="LinkButton2" runat="server" OnClick="LinkButton2_Click">删除</asp:LinkButton>
                </td>
            </tr>
        </table>
</asp:Content>

